package top.yangbuyi.service;

import top.yangbuyi.domain.Scheduling;
import top.yangbuyi.dto.SchedulingFormDto;
import top.yangbuyi.dto.SchedulingQueryDto;

import java.util.List;

/**
 * @ClassName: SchedulingService
 * @Author: campsis-tk
 * @Date: 2020/9/11 14:22
 * @Description:
 **/
public interface SchedulingService {

	/**
	 * @Description: 查询排班数据
	 * @Param: schedulingQueryDto
	 * @Return: List<Scheduling>
	 * @Author: campsis-tk
	 * @Date: 2020/9/11
	 */
	List<Scheduling> queryScheduling(SchedulingQueryDto schedulingQueryDto);

	/**
	 * @Description: 保存排班数据
	 * @Param: schedulingFormDto
	 * @Return: int
	 * @Author: campsis-tk
	 * @Exception: 
	 * @Date: 2020/9/14
	 */
	int saveScheduling(SchedulingFormDto schedulingFormDto);

	List<Long> queryDeptIdsForScheduling(Long deptId, String subsectionType, String schedulingType, String schedulingDay);

    List<Scheduling> selectAll2();

	int saveCharge(String regId);
}


